-- GENERATED SPELL FOR [Hive'Regal Ambusher] --


function spell0_11730(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11730', 30000, 1)
end

function Sorts_11730(pUnit, Event)
local choix_sorts_11730 = math.random(0, 0)
if choix_sorts_11730 == 0 then
pUnit:RegisterEvent('spell0_11730', 1, 1)
end
end

function mob11730_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11730', math.random(1500, 3000), 1)
end

function mob11730_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11730_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11730_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11730, 1, 'mob11730_Action')
RegisterUnitEvent(11730, 2, 'mob11730_Leave')
RegisterUnitEvent(11730, 3, 'mob11730_Kill')
RegisterUnitEvent(11730, 4, 'mob11730_Die')
